package com.example.houqin_oa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.comment_oa.pojos.PersonalEffects;
import com.example.comment_oa.pojos.RepairRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author liang
* @description 针对表【repair_record】的数据库操作Mapper
* @createDate 2022-10-12 20:13:28
* @Entity com.example.houqin_oa.model.pojos.RepairRecord
*/
@Mapper
public interface RepairRecordMapper extends BaseMapper<RepairRecord> {

    List<RepairRecord> RepairApply(@Param("repairRecord")RepairRecord repairRecord,@Param("State")int State);

    boolean Operation(RepairRecord repairRecord);

    List<RepairRecord> KeepAsk(@Param("repairRecord")RepairRecord repairRecord ,@Param("State")int State);

    boolean NewMaintenance(RepairRecord repairRecord);

    Boolean AddRear(RepairRecord repairRecord);

    List<RepairRecord> repairNo(RepairRecord repairRecord);

    boolean UpkeepReplace(PersonalEffects personalEffects);
}




